#ifndef CHECKFILETASK_H
#define CHECKFILETASK_H

#include <QThread>
#include <QFile>

class CheckFileTask : public QThread
{
    Q_OBJECT
public:
    explicit CheckFileTask(QObject *parent = 0);
    
signals:
    void notifyResult(int result, QString error, QString type, QString digest);
    void notifyEnd(QString);
    void notifyProcess(int, int);
    
public slots:
    void run();

public:
    void setFilename(QString filename);

private:
    QString filename;
};


#endif // CHECKFILETASK_H
